﻿{% extends "gma/base.html" %}
{% load mytag %}

<!-- CONTENT
  =====================================================================-->

{% block content %}

<div class="page__bd">
    <div class="weui-cells__title">基本数据</div>
    <div class="weui-cells">
        {% if user.avatar %}
        <a class="weui-cell weui-cell_access" href="{% url 'gma:gallery' user.avatar %}">
            <div class="weui-cell__bd"> <p>头像</p> </div>
            <div class="weui-cell__ft"> <img src="{{ user.avatar|cdn }}" class="right_large_avatar"> </div>
        </a>
        {% endif %}

        <div class="weui-cell">
            <div class="weui-cell__bd"> <p>用户id</p> </div>
            <div class="weui-cell__ft">{{ user.id }}</div>
        </div>

        <div class="weui-cell">
            <div class="weui-cell__bd"> <p>昵称</p> </div>
            <div class="weui-cell__ft">{{ user.auth_nickname }}</div>
        </div>
    </div>

    <div class="weui-cells__title">审核资料</div>
    <div class="weui-cells">
        <div class="weui-cell">
            <div class="weui-cell__bd"> <p>真实姓名</p> </div>
            <div class="weui-cell__ft">{{ user.real_name }}</div>
        </div>

        <div class="weui-cell">
            <div class="weui-cell__bd"> <p>城市</p> </div>
            <div class="weui-cell__ft">{{ user.city }}</div>
        </div>

        <div class="weui-cell">
            <div class="weui-cell__bd"> <p>身份证号</p> </div>
            <div class="weui-cell__ft">{{ user.cer_no }}</div>
        </div>

        <div class="weui-cell">
            <div class="weui-cell__bd"> <p>身高</p> </div>
            <div class="weui-cell__ft">{{ user.height }} cm</div>
        </div>

        <div class="weui-cell">
            <div class="weui-cell__bd"> <p>体重</p> </div>
            <div class="weui-cell__ft">{{ user.weight }} kg</div>
        </div>
        <div class="weui-cell">
            <div class="weui-cell__bd"> <p>自我评价</p> </div>
            <div class="weui-cell__ft">{{ user.tags }}</div>
        </div>

         <div class="weui-cell">
            <div class="weui-cell__bd"> <p>自我介绍</p> </div>
            <div class="weui-cell__ft">{{ user.introduction }}</div>
        </div>
    </div>
</div>

<div class="page__ft">
    <a href="{% url 'gma:home' %}">
        <span class="bottom-logo">
           HiBao
       </span>
    </a>
</div>

{% endblock content %}

<!-- SCRIPT
  =====================================================================-->

{% block extra_js %}

{% endblock extra_js %}